<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">

<title>TParser.PrefixValue</title>
<link rel="stylesheet" href="../fpdoc.css" type="text/css">

</head>
<body>
<table class="bar" width="100%" border="0" cellpadding="4" cellspacing="0">
<tr>
<td><b>[<a href="../parsers/index.html">Overview</a>][<a href="../parsers/index-4.html">Classes</a>][<a href="../parsers/index-8.html">Index</a>]</b></td>
<td align="right"><span class="bartitle">Reference for unit 'Parsers' (<a href="../index.html">#FPDOCP</a>)</span></td>
</tr>
</table>
<h1>TParser.PrefixValue</h1>
<p>Return TRUE if string AStr start with given prefix APrefix, fill AValue with content of AStr after this prefix</p>
<h2>Declaration</h2>
<p>Source position: Parsers.pas line 79</p>
<table cellpadding="0" cellspacing="0">
<tr>
<td><p><tt><span class="code"> <span class="kw">protected</span> <span class="kw">function</span> <a href="../parsers/tparser.html">TParser</a><span class="sym">.</span>PrefixValue<span class="sym">(</span></span></tt></p></td>
</tr>
<tr>
<td><p><tt><span class="code">&nbsp;&nbsp;APrefix<span class="sym">: </span>String<span class="sym">;</span></span></tt></p></td>
</tr>
<tr>
<td><p><tt><span class="code">&nbsp;&nbsp;AStr<span class="sym">: </span>String<span class="sym">;</span></span></tt></p></td>
</tr>
<tr>
<td><p><tt><span class="code">&nbsp;&nbsp;<span class="kw">var </span>AValue<span class="sym">: </span>String</span></tt></p></td>
</tr>
<tr>
<td><p><tt><span class="code"><span class="sym">):</span>Boolean<span class="sym">;</span></span></tt></p></td>
</tr>
</table>
<h2>Description</h2>
<p>This auxiliary function is used to determine special parts of big comment, e.g. See also: or Errors:<br></p>
</body>
</html>
